package net.homeip.jcperera.nu.data.dom;

import javax.inject.Named;

import net.homeip.jcperera.nu.core.msg.BaseMessage;
import net.homeip.jcperera.nu.model.entity.Type;

/**
 * Definition for basic Integrity Check, for Entities to check its integrity against predefined Integrity Checks
 * 
 * @name Integrity Check class
 * @author julio.c.perera@gmail.com
 * @application nu
 * @since 0.1.0.0
 */

@Named(IntegrityCheck.componentName)
public class IntegrityCheck extends net.homeip.jcperera.nu.core.dom.IntegrityCheck
{
    // Required to implement Serializable interface
    private static final long   serialVersionUID     = 8511328954208195762L;

    // CoreBase properties, for easy use from other components, as well as logging
    public static final int     runtimeLevel         = 0;
    public static final String  moduleName           = "core";
    public static final String  componentName        = "nu_data_dom_integrity_check";

    @SuppressWarnings("unused")
    private static final String classNameItAppliesTo = Type.class.getName();

    /**
     * @param objectToCheck
     *            objectToCheck
     * @exception BaseMessage
     */
    public void check(Object objectToCheck) throws BaseMessage
    {
        super.check(objectToCheck);
    }
}